import matplotlib.pyplot as plt
from random_walk import RandomWalk
# 只要程序处于活动状态，就不断的模拟随机漫步
while True:

    rw = RandomWalk()
    rw.fill_walk()
    plt.scatter(rw.x_values, rw.y__values,s=15)
    plt.show()
    keep_running = input("make another walk?(y/n)")
    if keep_running == 'n':
        break